import {requests} from "@/api/request";

/**
 * 上传新数据
 * @param data
 * @returns {*}
 */
export const reqPostMarker =(data)=>requests({
    url:'/marker',
    data,
    method:"post"
})
/**
 * 更新数据
 * @param data
 * @returns {*}
 */
export const reqPutMarker = (data)=>requests({
    url:'/marker',
    data,
    method:"put"
})